<template>
  <div>
    <div>
      <tinymce :height="400" ref="editor" v-model="form[item.field]"></tinymce>
    </div>
  </div>
</template>

<script>
import Tinymce from '@/components/Tinymce'
export default {
  components: { Tinymce },
  props: ['item', 'form', 'rules', 'disabled'],
  data() {
    return {

    }
  },
  mounted: () => {
    // console.log(SparkMD5)
  },
  methods: {

  }
};
</script>

<style scoped>
.file-close {
  position: absolute;
  right: 16px;
  top: 0;
  width: 16px;
  text-align: center;
}
.file-item {
  cursor: pointer;
  padding: 0 16px;
}
.file-item:hover {
  background: #f5f5f5;
}
</style>
